﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

using Tensop.Net.Tcp.Protocol;

namespace Tensop.Net.Tcp
{
    public class TcpServer:Connector
    {
        ProtocolCatcher                     m_Parser;

        public TcpServer(IPEndPoint local,int maxConnection):base(local,maxConnection)
        {
            m_Parser = new ProtocolCatcher();
        }

        protected override void OnReceive(ArraySegment<byte> data, Client c)
        {            
        }

        protected override void OnReceive(ServerReceiveEventArgs args, int handle)
        {
            base.OnReceive( args, handle );
        }
    }
}
